package MyIOTest;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Random;

public class test04 {
    public static void main(String[] args) throws IOException {
        Random r = new Random();
        BufferedReader bw = new BufferedReader(new FileReader("csb.txt"));
        ArrayList<String> list = new ArrayList<>();
        String s;
        while ((s = bw.readLine()) != null){
            list.add(s);
        }
//        int a = r.nextInt(1);
//        System.out.println(a);
        int choose = r.nextInt(list.size() + 1);
        String s1 = list.get(choose);
        System.out.println(s1.split("-")[0]);
    }
}
